vcProcessContext

vcProcessContext is the context of the application for process modeling.

See in: Overview

Module: vcCore

Parent: vcContext

Children -

Referenced by: -

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
createStatementvcStatementvcStatementType type,
Optional Keyword[selectStatement = Boolean]
Helper method for creating a new process modeling statement of a given type at the current location in the active process editor.
See more
Note: This method should only be used by commands in the Process Modeling statements gallery. For other purposes, use vcScope directly.

Parameters:
statementType (vcStatementType): The type of statement to be created.
Optional: selectStatement (Boolean): Defines if the statement should be selected. Default is True.

Exceptions:
ValueError: If a break or continue statement is created outside of a loop.
ValueError: If a robotics statement is created in a process executor.

Returns:
vcStatement: The created statement.